package com.guangyunl.model;
// 学生实体类
public class Student {
    // 学号
    private int sid;
    // 姓名
    private String name;
    // 年龄
    private int age;
    // 性别
    private String sex;

    public Student() {
    }

    public Student(int sid, String name, int age, String sex) {
        this.sid = sid;
        this.name = name;
        this.age = age;
        this.sex = sex;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
}
